#ifndef _MAINWINDOWS_H
#define _MAINWINDOWS_H

#include <QMainWindow>
#include <QAction>
#include <QMenu>
#include <QMenuBar>
#include <QToolBar>
class MainWindow : public QMainWindow{
	Q_OBJECT
public:
	MainWindow(QWidget * parent=nullptr);
	~MainWindow();
	void createAction();    //创建动作
	void createMenu();      //创建菜单
    void createToolBar();   //创建工具栏

private:
	QMenuBar * menuBar;   //菜单类
	QMenu * FileMenu;     //菜单栏
	QMenu * zoomMenu;
	QAction * openFileAction; //动作
	QAction * newFileAction;
	QAction * printFileAction;
	QAction * exitAction;
	QAction * copyAction;
	QAction * cutAction;
	QAction * pasteAction;
    QToolBar * fileTool;   // 工具栏
    QToolBar * zoomTool;
    QToolBar * rotateTool;
    QToolBar * mirrorTool;
    QToolBar * doTool;
};
#endif
